package com.ruoyi.yn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.yn.domain.YnUserAddress;
import com.ruoyi.yn.vo.YnUserAddressVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户地址Mapper接口
 *
 * @author Ming
 * @date 2023-04-24
 */
public interface YnUserAddressMapper extends BaseMapper<YnUserAddress> {

    Page<YnUserAddressVo> queryList(Page<?> page, @Param("entity") YnUserAddressVo entity);

    List<YnUserAddressVo> queryList(@Param("entity") YnUserAddressVo entity);

    YnUserAddressVo queryById(@Param("id") String id);

}
